<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link href="../css/home.css" type="text/css" rel="stylesheet"/>
    <script charset="UTF-8" language="javascript"  type="text/javascript"  src="../js/businessDiscountCalculation.js"></script>
    <script charset="UTF-8" language="javascript"  type="text/javascript"  src="../js/home.js"></script>
    <link href="../css/bootstrap3.3.6.min.css" rel="stylesheet">
    <script src="../js/jquery2.1.1.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
</head>
<body onload="initializeData()">
    <div class="bottom">
        <div class="filter">
            <div data-toggle="collapse" data-target="#s1" style="padding-left: 20px; cursor: pointer">
                <h2>计算规则</h2>
            </div>
            <div id="s1" class="collapse" style="width: 100%; background-color: #ffffff">
                <div style="width: 100%">
                    <p>1. 员工尊享福利 = (订单金额 - 不参与优惠金额) x (1 - 折扣)</p>
                    <p>a. 员工尊享福利产生金额只有大于等于1元才能生效并抵扣</p>
                    <p>3. 实际付款金额 = 订单金额 - 员工优惠(尊享)金额 - 福利金抵扣金额</p>
                    <p>4. 商家实收 = 福利金抵扣 + 实际付款金额</p>
                    <p>5. 福利金抵扣规则：</p>
                    <p style="margin-left: 50px">a. 当 订单金额-员工尊享优惠 <b>&gt=</b> 福利金余额，取福利金余额，<b>不可以大于100</b></p>
                    <p style="margin-left: 50px">b. 当 订单金额-员工尊享优惠 <b>&lt</b> 福利金余额，<b>福利金抵扣=订单金额-员工尊享优惠</b></p>
                    <p style="margin-left: 50px">c. 福利金抵扣值向下取整。<b>例如：福利金抵扣计算值10.5元，福利金抵扣向下取整后抵扣10元。实际支付金额加0.5元</b></p>

                </div>
            </div>
        </div>
        <div class="content">
            <table id="cal" border="1" style="border-collapse: collapse; width: 100%; text-align: left">
                <tbody>
                <tr>
                    <th class="calTh" >用例名</th>
                    <th class="calTh" >最低消费金额</th>
                    <th class="calTh" >最高折扣金额</th>
                    <th class="calTh" >订单金额</th>
                    <th class="calTh" >不参与优惠金额</th>
                    <th class="calTh" >折扣值</th>
                    <th class="calTh" >福利金余额</th>
                    <th class="calTh" style="background-color: #e0ffdc">员工尊享福利</th>
                    <th class="calTh" style="background-color: #e0ffdc">福利金抵扣</th>
                    <th class="calTh" style="background-color: #e0ffdc">实际支付金额</th>
                    <th class="calTh" style="background-color: #e0ffdc">商家实收</th>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="topDiv1000" id="fourDimensionalSpace" style="display: none" >
        <div class="topDiv1001">
            <div style="float: left; width: 100%">
                <label id="topDivTitle" class="topDivTitle"></label>
                <label class="close" onclick="controlTopDiv('close', '')">X</label>
            </div>
            <div></div>
            <div></div>
        </div>
    </div>
</body>
</html>